﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RconLibrary
{
    /// <summary>
    /// Rcon state
    /// </summary>
    public enum ConnectionState
    {
        /// <summary>
        /// Connection is closed.
        /// </summary>
        Closed,

        /// <summary>
        /// Trying to connect to the server.
        /// </summary>
        Connecting,
            
        /// <summary>
        /// Trying to reconnect after a fail.
        /// </summary>
        Reconnecting,

        /// <summary>
        /// Connected to the server.
        /// </summary>
        Connected,

        /// <summary>
        /// Error state.
        /// </summary>
        Error
    }
}
